Private WithEvents mDOMRecurse As DOMRecurse ' see mDOMRecurse_NodeEvent
Attribute mDOMRecurse.VB_VarHelpID = -1
' WinAPI Declarations
Private Const LB_SETTABSTOPS = &H192
Private Const LB_SETHORIZONTALEXTENT = &H194
Private Declare Function SendMessageByRef Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Long) As Long
Private Declare Function SendMessageByVal Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Public Sub Recurse(StartFromNode As MSHTML.IHTMLDOMNode)
On Error GoTo Recurse_Error
' Me.MousePointer = vbHourglass
SetLBTabs lst.hWnd, 6, 12, 18, 24, 30, 36, 42, 48
SetLBHScrollBar LBhWnd:=lst.hWnd, PixelWidth:=600
Set mDOMRecurse = New DOMRecurse ' instantiate WithEvents module-level variable